#ifndef SPHERE_H
#define SPHERE_H
#include "Geometry.h"
#include <fstream>

class Sphere: public Geometry{
	public:
		Sphere(std::ifstream& inputFile);
		virtual std::vector<double> intersection(Ray& ray);
		virtual bool contains(Vector& point);
		virtual Vector normal(Vector& surfacePoint);
		virtual Color getColor(Vector& pos);
	private:
		double scaleX, scaleY, scaleZ;
		double transformArray[6];
		Vector transform(Vector& v1);
};
#endif

